{% extends "WebMainSiteBundle:Web:layout.html.twig" %}
{% block page_header %}
    <div class="page-header">
        <div class="container">
            <div class="row">
                <div class="col-md-7">
                    <h1>{{ title }}【{{ course.title }}】</h1>
                </div>
                <div class="col-md-5">
                    <ol class="breadcrumb pull-right">
                        <li><a href="{{ path("WebIndex") }}">主页</a></li>
                        <li><a href="{{ path("WebUserIndex") }}">课程管理</a></li>
                        <li class="active">{{ title }}</li>
                    </ol>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
{% block main %}
    <section class="content content-light  blog">
        <div class="container">
            <div class="row">
                <!-- sidebar -->
                <aside class="col-md-3" role="complementary">
                    {% block user_side %}
                        <section class="widget category">
                            <h2>课程管理</h2>
                            <nav>
                                <ul>
                                    <li><a {% if  app.request.requestUri ==  path("WebCourseInfoManage" , { uniqueId:course.uniqueId})  %}class="cur"{% endif %} href="{{ path("WebCourseInfoManage" , { uniqueId:course.uniqueId}) }}"><i class="fa fa-play"></i>基本信息</a></li>
                                    <li><a {% if  app.request.requestUri == path("WebCoursePicCover" , { uniqueId:course.uniqueId})  %}class="cur"{% endif %} href="{{ path("WebCoursePicCover", { uniqueId:course.uniqueId}) }}"><i class="fa fa-play"></i>封面图片</a></li>
                                    <li><a {% if  app.request.requestUri == path("WebCoursePicMain" , { uniqueId:course.uniqueId})  %}class="cur"{% endif %} href="{{ path("WebCoursePicMain", { uniqueId:course.uniqueId}) }}"><i class="fa fa-play"></i>课程主图</a></li>
                                    {#<li><a {% if  app.request.requestUri == path("WebUserPassword")  %}class="cur"{% endif %} href="{{ path("WebUserInfo") }}"><i class="fa fa-play"></i>课程主图</a></li>#}
                                    <li><a {% if  app.request.requestUri ==  path("WebCourseLessonList" , { uniqueId:course.uniqueId})  %}class="cur"{% endif %} href="{{ path("WebCourseLessonList",{uniqueId:course.uniqueId}) }}"><i class="fa fa-play"></i>课程目录</a></li>
                                    <li><a {% if  app.request.requestUri ==  path("WebCourseLessonArrangeAdd" , { uniqueId:course.uniqueId})  %}class="cur"{% endif %} href="{{ path("WebCourseLessonArrangeAdd",{uniqueId:course.uniqueId}) }}"><i class="fa fa-play"></i>添加章节</a></li>
                                    <li><a {% if  app.request.requestUri ==  path("WebCourseLessonContentAdd" , { uniqueId:course.uniqueId})  %}class="cur"{% endif %} href="{{ path("WebCourseLessonContentAdd",{uniqueId:course.uniqueId}) }}"><i class="fa fa-play"></i>添加课时</a></li>
                                </ul>
                            </nav>
                        </section>
                        {#<section class="widget category">#}
                            {#<h2>课程章节</h2>#}
                            {#<nav>#}
                                {#<ul>#}
                                    {#<li><a {% if  app.request.requestUri ==  path("WebCourseLessonArrangeAdd" , { uniqueId:course.uniqueId})  %}class="cur"{% endif %} href="{{ path("WebCourseLessonArrangeAdd",{uniqueId:course.uniqueId}) }}"><i class="fa fa-play"></i>新增章节</a></li>#}
                                    {#<li><a {% if  app.request.requestUri ==  path("WebCourseLessonArrangeList" , { uniqueId:course.uniqueId})  %}class="cur"{% endif %} href="{{ path("WebCourseLessonArrangeList",{uniqueId:course.uniqueId}) }}"><i class="fa fa-play"></i>全部章节</a></li>#}
                                {#</ul>#}
                            {#</nav>#}
                        {#</section>#}
                        {#<section class="widget category">#}
                            {#<h2>课时管理</h2>#}
                            {#<nav>#}
                                {#<ul>#}
                                    {#<li><a {% if  app.request.requestUri ==  path("WebCourseLessonContentAdd" , { uniqueId:course.uniqueId})  %}class="cur"{% endif %} href="{{ path("WebCourseLessonContentAdd",{uniqueId:course.uniqueId}) }}"><i class="fa fa-play"></i>添加课时</a></li>#}
                                {#</ul>#}
                            {#</nav>#}
                        {#</section>#}
                    {% endblock %}
                </aside>
                <!-- Blog post - center -->
                <div class="col-md-9">
                    {% block user_main %}

                    {% endblock %}
                </div>
            </div>
        </div>
    </section>
{% endblock %}